package com.xbongbong.pro.script.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

@Getter
@Setter
@ToString
public class DingtalkNodeTaskDTO extends BaseDTO {

    @NotEmpty(message = "{dto.msg.dingtalkNodeTask.xbbCode.NotEmpty}")
    private String xbbCode;

    /**
     * 流程任务id
     */
    private Integer processTaskId;

    /**
     * 钉钉待办实例id
     */
    private String processInstanceId;

    /**
     * 钉钉待办任务流程节点id
     */
    private String workrecordActivityId;

    /**
     * 钉钉待办任务id
     */
    private String workrecordTaskId;

    /**
     * 钉钉待办任务状态(agree, refuse, CANCELED)
     */
    private String workrecordTaskStatus;

}
